home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 3.iso / dist / fw_tcl80.idb / usr / freeware / include / tcl / tclMath.h.z / tclMath.h
Encoding:
C/C++ Source or Header  |  1999-04-16  |  755 b   |  28 lines

  1. /*
  2.  * tclMath.h --
  3.  *
  4.  *    This file is necessary because of Metrowerks CodeWarrior Pro 1
  5.  *    on the Macintosh. With 8-byte doubles turned on, the definitions of
  6.  *    sin, cos, acos, etc., are screwed up.  They are fine as long as
  7.  *    they are used as function calls, but if the function pointers
  8.  *    are passed around and used, they will crash hard on the 68K.
  9.  *
  10.  * Copyright (c) 1997 Sun Microsystems, Inc.
  11.  *
  12.  * See the file "license.terms" for information on usage and redistribution
  13.  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  14.  *
  15.  * RCS: @(#) $Id: tclMath.h,v 1.2 1998/09/14 18:40:01 stanton Exp $
  16.  */
  17.  
  18. #ifndef _TCLMATH
  19. #define _TCLMATH
  20.  
  21. #if defined(MAC_TCL)
  22. #   include "tclMacMath.h"
  23. #else
  24. #   include <math.h>
  25. #endif
  26.  
  27. #endif /* _TCLMATH */
  28.